package com.itheima.springbootmybatisdemo.service.impl;


import com.itheima.springbootmybatisdemo.mapper.EmpMapper;
import com.itheima.springbootmybatisdemo.pojo.Emp;
import com.itheima.springbootmybatisdemo.service.EmpService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @Author mr.luo
 * @Date 15 4月 2025 17:10
 */
@Service
public class empServiceImpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;
    /**
     * 添加员工
     *
     * @param emp
     * @return
     */
    @Override
    public void addEmp(Emp emp) {
        /**
         * 添加员工
         */
        empMapper.addEmp(emp);
    }
}
